package com.sgb.kjwl.view.ui.activity.transport.driver;

import com.sgb.kjwl.view.ui.activity.transport.driver.lines.LinesItemEntity;
import com.sgb.kjwl.view.ui.activity.transport.driver.price.PriceItemEntity;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by le on 2019/11/12.
 * Class description: 测试数据
 */
public class TestData {
    private static TestData instance;

    private TestData() {
    }

    public static TestData getInstance() {
        if (null == instance) {
            instance = new TestData();
        }
        return instance;
    }

    /**
     * 报价订单列表
     */
    public List<PriceItemEntity> getPriceList() {
        List<PriceItemEntity> result = new ArrayList<>();

        for (int i = 0; i < 15; i++) {
            PriceItemEntity priceItemEntity = new PriceItemEntity();
            priceItemEntity.address1 = "新疆 乌鲁木齐";
            priceItemEntity.address2 = "重庆 滨江";
            result.add(priceItemEntity);

        }


        return result;
    }


    /**
     * 报价订单列表
     */
    public List<LinesItemEntity> getLinesList() {
        List<LinesItemEntity> result = new ArrayList<>();

        for (int i = 0; i < 15; i++) {
            LinesItemEntity linesItemEntity = new LinesItemEntity();
            linesItemEntity.address1 = "新疆 乌鲁木齐";
            linesItemEntity.address2 = "重庆 滨江";
            result.add(linesItemEntity);

        }


        return result;
    }


}
